package com.Test;

public class CountDown {
    private static final int INITIAL_COUNT = 480; // 初始倒计时时间，单位：秒

    public static void main(String[] args) {
        int count = INITIAL_COUNT;

        while (count > 0) {
            System.out.println("倒计时：" + count + "秒");
            try {
                // 暂停1秒钟
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

            count--;
        }

        System.out.println("倒计时结束！");
    }
}
